package com.dq.health.dao.user;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dq.health.dto.request.user.QueryUserParam;
import com.dq.health.dto.response.user.UserDetail;
import com.dq.health.entity.user.UserBaseInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * UserBaseInfoMapper继承基类
 */
@Mapper
public interface UserBaseInfoMapper extends BaseMapper<UserBaseInfo> {

    List<UserDetail> queryUserList(IPage<UserBaseInfo> page, @Param("param") QueryUserParam param);

}